﻿

using NTQOnlineExam.Services.Infrastructure.Utility;

namespace NTQOnlineExam.Services.Models
{
    public enum RoleList
    {
        Administrator,
        Customer
    }

    public enum OrderStatus
    {
        /// <summary>
        /// when we create the order
        /// </summary>
        [LocalizedDescription(DescriptionResourceKey = "Draft", DescriptionResourceType = typeof(Resources.OrderStatus))]
        Draft = 1,
        ///// <summary>
        ///// we registered to payment in third party but still not finished
        ///// </summary>
        //[LocalizedDescription(DescriptionResourceKey = "PendingPayment", DescriptionResourceType = typeof(Resources.OrderStatus))]
        //PendingPayment = 2,
        /// <summary>
        /// Complete payment
        /// </summary>
        [LocalizedDescription(DescriptionResourceKey = "New", DescriptionResourceType = typeof(Resources.OrderStatus))]
        New = 3
    }

    public enum OrderType
    {
        /// <summary>
        /// Order from web with paypal paygate
        /// </summary>        
        [LocalizedDescription(DescriptionResourceKey = "Web", DescriptionResourceType = typeof(Resources.OrderType))]
        Default = 0,

        /// <summary>
        /// Order from phone (apple)
        /// </summary>        
        [LocalizedDescription(DescriptionResourceKey = "Phone", DescriptionResourceType = typeof(Resources.OrderType))]
        Phone = 1
    }
}
